package org.springframework.demo6;

/**
 * 支付宝门面类
 */
public class PaySignFacade {

	public int payType;

	public PaySignFacade(int payType){
		this.payType=payType;
	}

	//全局入口
	public void globleEntry(){
		if (payType==1){
			new ALSign().sign();
		}else if (payType==2){
			new WXSign().sign();
		}else if (payType==3){
			new TikTokSign().sign();
		}
	}
}
